package net.xumf.support.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ApiModel(description = "用户管理分页请求数据模型")
public class UserPageDTO extends PageDTO {

    @ApiModelProperty(value = "搜索字符串")
    private String searchText;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    public String getSearchText() {
        return searchText.trim();
    }
}
